GET Users/GetSetting?key[0]={key[0]}&key[1]={key[1]}
Returns a list of settings based on the key
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
key |
The array of keys of the settings to retrieve. You may specify more than one. |
Collection of string |
Required |
Body Parameters
None.
Response Information
Resource Description
A list of settings by key
Collection of UserSettingDTOName | Description | Type | Additional information |
---|---|---|---|
UserID |
ID of the user |
globally unique identifier |
None. |
Key |
Key |
string |
None. |
Setting |
User Setting |
string |
None. |
Response Formats
application/json, text/json
Sample:
{ "results": [ { "UserID": "9bf12bd7-f366-4e90-a7b2-5e20a6d19f53", "Key": "sample string 2", "Setting": "sample string 3" }, { "UserID": "9bf12bd7-f366-4e90-a7b2-5e20a6d19f53", "Key": "sample string 2", "Setting": "sample string 3" } ] }
text/javascript
Sample:
{"results":[{"UserID":"9bf12bd7-f366-4e90-a7b2-5e20a6d19f53","Key":"sample string 2","Setting":"sample string 3"},{"UserID":"9bf12bd7-f366-4e90-a7b2-5e20a6d19f53","Key":"sample string 2","Setting":"sample string 3"}]}
application/bson
Sample:
Binary JSON content. See http://bsonspec.org for details.
application/xml, text/xml
Sample:
<ArrayOfUserSettingDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Lpp.Dns.DTO"> <UserSettingDTO> <Key>sample string 2</Key> <Setting>sample string 3</Setting> <UserID>9bf12bd7-f366-4e90-a7b2-5e20a6d19f53</UserID> </UserSettingDTO> <UserSettingDTO> <Key>sample string 2</Key> <Setting>sample string 3</Setting> <UserID>9bf12bd7-f366-4e90-a7b2-5e20a6d19f53</UserID> </UserSettingDTO> </ArrayOfUserSettingDTO>